package com.gitee.cui.netty.codec;

import com.gitee.cui.netty.decoder.Byte2IntegerDecoder;
import com.gitee.cui.netty.encoder.Integer2ByteEncoder;
import io.netty.channel.CombinedChannelDuplexHandler;

/**
 * 整型编解码器组合器
 * @author cuiqingqiang
 * @version 1.0
 * @date 2021/10/25 10:57
 **/
public class IntegerDuplexHandler extends CombinedChannelDuplexHandler<Byte2IntegerDecoder, Integer2ByteEncoder> {
    public IntegerDuplexHandler() {
        super(new Byte2IntegerDecoder(), new Integer2ByteEncoder());
    }
}
